package com.zp.self.module.level_5_设计模式.结构型模式.Ⅰ_代理模式.动态代理_JDK_Proxy;

//测试类
public class Client {
    public static void main(String[] args) {
        SellTickets proxyInstance = ProxyFactory.getProxyInstance(SellTickets.class, TrainStation.class);
        proxyInstance.sell();
        proxyInstance.sellWindow2();
    }
}